mkdir Matlab
@echo "Please, be patient..."
mex -outdir Matlab -I. -g -D__MEX_COMPILER mex_gpc_controller.cpp Utils.cpp StringConstants.cpp SimEngine\*.cpp SimFile\*.cpp SimInterface\*.cpp > out.txt
xcopy /Y mex_gpc_controller.cpp matlab\mex_gpc_controller.cpp